<html>
<head><meta charset="utf-8"><title>features in a crate · t-cargo · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/index.html">t-cargo</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/features.20in.20a.20crate.html">features in a crate</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="205196620"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/features%20in%20a%20crate/near/205196620" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/features.20in.20a.20crate.html#205196620">(Jul 28 2020 at 04:10)</a>:</h4>
<p>Is there a simple way to get the information? TomlManifest has it but I cannot see a way to get it. I want to enable a feature if it is present and it seems more difficult than it should.</p>



<a name="205197238"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/246057-t-cargo/topic/features%20in%20a%20crate/near/205197238" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/246057-t-cargo/topic/features.20in.20a.20crate.html#205197238">(Jul 28 2020 at 04:28)</a>:</h4>
<p><code>manifest.summary().features()</code> seems simple enough :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>